<style type="text/css">
	.ellipText {
		display: inherit;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.cancle {
		position: relative;
	}

	.cancle:hover>.s_del_icon {
		display: inline-block;
	}
</style>
<div id="content">
	<div class="row s_page_title">
		<sa-big-breadcrumbs [items]="['日志信息管理','用户操作信息']" icon="fa fa-tag" class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
		</sa-big-breadcrumbs>
	</div>
	<sa-widgets-grid>
		<div class="s_table">
			<div sa-widget [editbutton]="false" color="darken" class="clearfix">
				<header><span class="widget-icon"> <i class="fa fa-table"></i> </span>
					<h2>用户操作信息</h2>
				</header>
				<div>
					<div class="widget-body no-padding">
						<div class="page-header clearfix s_table_opreation">
							<div class="left page-header-btn">
								<div class="top_module top_module_box cancle">
									<span class="top_module_label module_text">用户名</span>
									<input class="module_inp" type="text" [(ngModel)]="userName" style="padding: 0 12px;"
										placeholder="请输入用户名" />
									<div class="s_del_icon" (click)='delKey("userName")'>x</div>
								</div>

								<div class="top_module top_module_box cancle">
									<span class="top_module_label module_text">操作</span>
									<input class="module_inp" type="text" [(ngModel)]="operation" style="padding: 0 12px;"
										placeholder="请输入操作" />
									<div class="s_del_icon" (click)='delKey("operation")'>x</div>
								</div>

								<div class="top_module top_module_box cancle">
									<span class="top_module_label module_text">操作内容</span>
									<input class="module_inp" type="text" [(ngModel)]="content" style="padding: 0 12px;"
										placeholder="请输入操作内容" />
									<div class="s_del_icon" (click)='delKey("content")'>x</div>
								</div>

								<div class="selectDate top_module">
									<table-select-date (outerTime)="getSelectTableTime($event)"></table-select-date>
								</div>
								<button type="button" class="btn btn-primary" (click)="table_search()">查询</button>
							</div>
							<div class="right top-search" style="width: 240px;">
								<input type="text" [(ngModel)]="searchKey" (change)="table_search()" class="search-input"
									placeholder="账户名称、操作、操作内容...">
								<span class="top-search-box">
									<button class="top-search-btn" type="button" (click)="table_search()"> <i
											class="fa fa-search"></i></button>
								</span>
							</div>
						</div>
						<div class="table_scroll">
							<table
								class="display dataTables responsive table table-striped table-bordered table-hover dataTable s_h5_table">
								<thead>
									<tr>
										<th>账户名称</th>
										<th>操作</th>
										<th>操作内容</th>
										<th>操作时间</th>
									</tr>
								</thead>
								<tbody>
									<tr *ngFor="let row of tableData">
										<td>{{row.userName}}</td>
										<td>{{row.operation}}</td>
										<td>{{row.content}}</td>
										<td>{{row.createTime}}</td>
									</tr>
								</tbody>
							</table>
						</div>
						<div class="table-fix clearfix">
							<paginator [totalRecords]="totalCount" [rows]="pageSize" [currentPage]="curPage - 1"
								(onPageChange)="paginate($event)">
							</paginator>
							<button type="button" class="btn default refresh_btn" (click)="refresh()"><i
									class="fa fa-refresh"></i></button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</sa-widgets-grid>
</div>